package com.yfp.device.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yfp.device.domain.OrderMake;
import com.yfp.device.mapper.OrderMakeMapper;
import com.yfp.device.service.OrderMakeService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
* @author admin
* @description 针对表【order_make】的数据库操作Service实现
* @createDate 2024-06-18 19:17:58
*/
@Service
public class OrderMakeServiceImpl extends ServiceImpl<OrderMakeMapper, OrderMake> implements OrderMakeService {

    @Resource
    private OrderMakeMapper orderMakeMapper;

    @Override
    public List<OrderMake> findByDetailIds(List<String> orderDetailIds) {
        return orderMakeMapper.findByDetailIds(orderDetailIds);
    }

    @Override
    public void insertAll(List<OrderMake> makes) {
        orderMakeMapper.insertAll(makes);
    }

    @Override
    public void findUpdateMake(ArrayList<OrderMake> orderMakes) {
        orderMakeMapper.findUpdateMake(orderMakes);
    }
}




